<?php echo $form->create('sitepermissions'); ?>
<table class="box-table-a" style="width:100%">
<thead>
<th scope="col" style="width:25%;text-align:center"></th>
<th scope="col" style="width:25%;text-align:center">Public (Anonymous)</th>
<th scope="col" style="width:25%;text-align:center">Registered</th>
<th scope="col" style="width:25%;text-align:center">Admins</th>
</thead>
<tbody>
<tr>
<td><center><?php echo __('Map viewable by',true);?></center></td>
<td><center><?php echo $form->checkbox('mappublicview',array('div'=>false));?></center></td>
<td><center><?php echo $form->checkbox('mapregisteredview',array('div'=>false));?></center></td>
<td><center><?php echo $form->checkbox('mapadminview',array('div'=>false,'checked'=>'checked','disabled'=>'disabled'));?></center></td>
</tr>
<?php
if ($statsplugin)
{
?>	
<tr>
<td><center><?php echo __('Stats viewable by',true);?></center></td>
<td><center><?php echo $form->checkbox('statspublicview',array('div'=>false));?></center></td>
<td><center><?php echo $form->checkbox('statsregisteredview',array('div'=>false));?></center></td>
<td><center><?php echo $form->checkbox('statsadminview',array('div'=>false,'checked'=>'checked','disabled'=>'disabled'));?></center></td>
</tr>
<?php
}
?>
<?php
if ($achplugin)
{
?>	
<tr>
<td><center><?php echo __('Achievements viewable by',true);?></center></td>
<td><center><?php echo $form->checkbox('achpublicview',array('div'=>false));?></center></td>
<td><center><?php echo $form->checkbox('achregisteredview',array('div'=>false));?></center></td>
<td><center><?php echo $form->checkbox('achadminview',array('div'=>false,'checked'=>'checked','disabled'=>'disabled'));?></center></td>
</tr>
<?php
}
?>
</tbody>
</table>
<center>
<?php
echo $js->submit('Save',array('div'=>false,'url'=>array('action'=>'savesitepermissions'),NULL,'update'=>'#fragment-7','confirm'=>__('Are you sure ?',true)));
echo $form->end();
?>
</center>